projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae35a2
)
Fix previous change.
author
Kenichi Handa
<handa@m17n.org>
Sat, 9 May 1998 01:23:58 +0000
(
01:23
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Sat, 9 May 1998 01:23:58 +0000
(
01:23
+0000)
src/indent.c
patch
|
blob
|
history
diff --git
a/src/indent.c
b/src/indent.c
index 6ca70c744f42843e268c28df315ef7576774dfc8..047f9e822625e4235dd9189a393eb5e8bc6dd6d0 100644
(file)
--- a/
src/indent.c
+++ b/
src/indent.c
@@
-1260,7
+1260,8
@@
compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
if (vpos > tovpos || vpos == tovpos && hpos >= tohpos)
{
if (contin_hpos && prev_hpos == 0
- && wide_column_end_hpos > width)
+ && hpos > tohpos
+ && (contin_hpos == width || wide_column_end_hpos > width))
{ /* Line breaks because we can't put the character at the
previous line any more. It is not the multi-column
character continued in middle. Go back to previous